package com.lms.demo.fileservice.exception;

/**
* @Author 李孟帅
* @Date 2020/12/24 19:34
* @Description
*/
public class  GeneralException extends RuntimeException {
    private int statusCode;
    public int getStatusCode() {
        return statusCode;
    }

    public GeneralException(String message,int statusCode){
        super(message);
        this.statusCode = statusCode;
    }

    public GeneralException(String message){
        super(message);
    }

}